import { UserOutlined, HomeOutlined } from '@ant-design/icons';
export const routes = [
  {
    name: '首页',
    path: '/',
    icon: <HomeOutlined />,
    component: () => import('@/pages/home'),
  },

  {
    name: '懒加载组件',
    path: '/lazy-component',
    icon: <UserOutlined />,
    component: () => import('@/pages/lazy-component'),
  },
  {
    name: '加载中',
    path: '/my-spin',
    icon: <UserOutlined />,
    component: () => import('@/pages/antd/my-spin'),
  },
  {
    name: 'hooks',
    icon: <UserOutlined />,
    component: () => import('@/pages/hooks'),
    path: '/my-hooks',
  },
  {
    name: '表格',
    path: '/my-table',
    icon: <UserOutlined />,
    component: () => import('@/pages/table/index'),
  },
  {
    name: '表单',
    path: '/my-form',
    icon: <UserOutlined />,
    component: () => import('@/pages/form/index'),
  },
  {
    name: '弹窗',
    path: '/my-modal',
    icon: <UserOutlined />,
    component: () => import('@/pages/modal/index'),
  },
  {
    name: '关于',
    path: '/about',
    icon: <UserOutlined />,
    component: () => import('@/pages/about'),
  },
];
